package com.example.demo.bean;

import lombok.Data;

import java.util.List;

@Data
public class ResPage<T> {
    private long total;
    private Long current;
    private Long size;
    private List<T> rows;

    public ResPage() {
    }

    public ResPage(long total, Long current, Long size, List<T> rows) {
        this.total = total;
        this.current = current;
        this.size = size;
        this.rows = rows;
    }
}
